<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>LOL Live Table</title>
</head>
<h1>LOL 直播表格</h1>
<table border="1">
    <tr>
        <th>序号</th>
        <th>ID</th>
        <th>标题</th>
        <th>主播</th>
        <th>等级</th>
        <th>截图</th>
        <th>人数</th>
        <th>刷新时间</th>
        <th>操作</th>
    </tr>
    {% for i in live_list %}
    <tr>
        <td>序号</td>
        <td>{{ i.id }}</td>
        <td>{{ i.title }}</td>
        <td>{{ i.author }}</td>
        <td>{{ i.level }}</td>
        <td><img src="{{ i.banner }}"> </td>
        <td>{{ i.hot_num }}</td>
        <td>{{ i.addtime | date:"y-m-d h:i:s"}}</td>
        <td>修改 | 删除</td>
    </tr>
    {% endfor %}
</table>
<form action="/lol/" method="get">
    <div>页码<input type="text" name="page" placeholder="1"></div>
    <input type="submit" name="sub" value="提交">
</form>
</html>